package max.ta.stock.plot;

import java.io.IOException;
import java.util.List;

import max.ta.data.entity.StockQuote;
import max.ta.stock.DataLoader;

public class StockIndexPlotterTest {

    public static void main(final String[] args) throws IOException {
	final StockTimeSeriesPlotter plotter = new StockTimeSeriesPlotter();
	List<StockQuote> quotes = DataLoader.load();
	plotter.showOpen(true);
	plotter.showLow(true);
	plotter.showHigh(true);
	plotter.showClose(true);
	plotter.plot("IBM", quotes);
    }
}
